package com.kkyy.findmusic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kkyy.findmusic.dao.PlayDao;
import com.kkyy.findmusic.entity.PlayEntity;
import com.kkyy.findmusic.service.PlayService;
import org.springframework.stereotype.Service;

@Service
public class PlayServiceImpl extends ServiceImpl<PlayDao, PlayEntity> implements PlayService {
    @Override
    public PlayEntity playMusic(Integer id) {
        PlayEntity play = this.baseMapper.selectById(id);
        return play;
    }
}